﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RPGXEngine.Debugging
{
    public class PerformanceData
    {
        #region Properties

        public float CPUUsage { get; internal set; }

        public int NumberOfThreads { get; set; }

        public long BytesInUse { get; internal set; }

        public float KBInUse
        {
            get
            {
                return this.BytesInUse / 1024.0f;
            }
        }

        public float MBInUse
        {
            get
            {
                return this.KBInUse / 1024.0f;
            }
        }

        public float GBInUse
        {
            get
            {
                return this.MBInUse / 1024.0f;
            }
        }

        #endregion
    }
}
